package com.first.springBoot.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BusUser implements Serializable {
    /**
     * 用户ID
     * 表字段 : t_bus_user.id
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * 其他平台登录ID
     * 表字段 : t_bus_user.qqOpenId
     *
     * @mbggenerated
     */
    private String qqopenid;

    /**
     * 其他平台登录ID
     * 表字段 : t_bus_user.openId
     *
     * @mbggenerated
     */
    private String openid;

    /**
     * 微信openId
     * 表字段 : t_bus_user.wxOpenId
     *
     * @mbggenerated
     */
    private String wxopenid;

    /**
     * 是否开启自动登录
     * 表字段 : t_bus_user.autoLogin
     *
     * @mbggenerated
     */
    private Integer autologin;

    /**
     * 用户email
     * 表字段 : t_bus_user.email
     *
     * @mbggenerated
     */
    private String email;

    /**
     * 用户唯一性标示
     * 表字段 : t_bus_user.username
     *
     * @mbggenerated
     */
    private String username;

    /**
     * 真实姓名
     * 表字段 : t_bus_user.realname
     *
     * @mbggenerated
     */
    private String realname;

    /**
     * 
     * 表字段 : t_bus_user.idNo
     *
     * @mbggenerated
     */
    private String idno;

    /**
     * 其他平台登录账号
     * 表字段 : t_bus_user.qq
     *
     * @mbggenerated
     */
    private String qq;

    /**
     * 其他平台登录账号
     * 表字段 : t_bus_user.openUserCode
     *
     * @mbggenerated
     */
    private String openusercode;

    /**
     * 用户密码
     * 表字段 : t_bus_user.password
     *
     * @mbggenerated
     */
    private String password;

    /**
     * 交易密码
     * 表字段 : t_bus_user.dealpwd
     *
     * @mbggenerated
     */
    private String dealpwd;

    /**
     * 
     * 表字段 : t_bus_user.nickName
     *
     * @mbggenerated
     */
    private String nickname;

    /**
     * 用户移动电话
     * 表字段 : t_bus_user.mobilePhone
     *
     * @mbggenerated
     */
    private String mobilephone;

    /**
     * 推荐人
     * 表字段 : t_bus_user.refferee
     *
     * @mbggenerated
     */
    private String refferee;

    /**
     * 网站积分
     * 表字段 : t_bus_user.rating
     *
     * @mbggenerated
     */
    private Integer rating;

    /**
     * 最后登录IP
     * 表字段 : t_bus_user.lastIP
     *
     * @mbggenerated
     */
    private String lastip;

    /**
     * 最后登录时间
     * 表字段 : t_bus_user.lastDate
     *
     * @mbggenerated
     */
    private Date lastdate;

    /**
     * 认证步骤(默认是1  个人详细信息 2  工作认证 3上传 资料)
     * 表字段 : t_bus_user.authStep
     *
     * @mbggenerated
     */
    private Integer authstep;

    /**
     * 头像
     * 表字段 : t_bus_user.headImg
     *
     * @mbggenerated
     */
    private String headimg;

    /**
     * 是否禁用 1、启用 2、禁用 3.黑名单 默认1
     * 表字段 : t_bus_user.enable
     *
     * @mbggenerated
     */
    private Integer enable;

    /**
     * 可用金额(暂时不用)
     * 表字段 : t_bus_user.usableSum
     *
     * @mbggenerated
     */
    private BigDecimal usablesum;

    /**
     * 冻结金额
     * 表字段 : t_bus_user.freezeSum
     *
     * @mbggenerated
     */
    private BigDecimal freezesum;

    /**
     * 待收金额(待收本息之和)
     * 表字段 : t_bus_user.dueinSum
     *
     * @mbggenerated
     */
    private BigDecimal dueinsum;

    /**
     * 待还金额(暂时不用)
     * 表字段 : t_bus_user.dueoutSum
     *
     * @mbggenerated
     */
    private BigDecimal dueoutsum;

    /**
     * 客服Id
     * 表字段 : t_bus_user.kefuId
     *
     * @mbggenerated
     */
    private Long kefuid;

    /**
     * 后台审核员id
     * 表字段 : t_bus_user.adminId
     *
     * @mbggenerated
     */
    private Long adminid;

    /**
     * 组ID 1-平台发标用户组
     * 表字段 : t_bus_user.groupId
     *
     * @mbggenerated
     */
    private Long groupid;

    /**
     * 费用扣除状态( 1 待扣 2 已扣)
     * 表字段 : t_bus_user.feeStatus
     *
     * @mbggenerated
     */
    private Integer feestatus;

    /**
     * 登录次数
     * 表字段 : t_bus_user.loginCount
     *
     * @mbggenerated
     */
    private Integer logincount;

    /**
     * 锁定时间
     * 表字段 : t_bus_user.lockTime
     *
     * @mbggenerated
     */
    private Date locktime;

    /**
     * 提现状态(默认1 启动 2 禁止)
     * 表字段 : t_bus_user.cashStatus
     *
     * @mbggenerated
     */
    private Integer cashstatus;

    /**
     * 客户类型，1为个人客户，2为机构客户，3 为电销,4为财富
     * 表字段 : t_bus_user.usrType
     *
     * @mbggenerated
     */
    private String usrtype;

    /**
     * 注册渠道
     * 表字段 : t_bus_user.usrChannel
     *
     * @mbggenerated
     */
    private Integer usrchannel;

    /**
     * 用户等级
     * 表字段 : t_bus_user.usrLevel
     *
     * @mbggenerated
     */
    private Integer usrlevel;

    /**
     * 理财师：0-否，1-是
     * 表字段 : t_bus_user.ccfp
     *
     * @mbggenerated
     */
    private Integer ccfp;

    /**
     * 
     * 表字段 : t_bus_user.ipaddr
     *
     * @mbggenerated
     */
    private String ipaddr;

    /**
     * 账户余额
     * 表字段 : t_bus_user.balance
     *
     * @mbggenerated
     */
    private BigDecimal balance;

    /**
     * 体验金额
     * 表字段 : t_bus_user.testSum
     *
     * @mbggenerated
     */
    private BigDecimal testsum;

    /**
     * 体验金额复制
     * 表字段 : t_bus_user.testSumCopy
     *
     * @mbggenerated
     */
    private BigDecimal testsumcopy;

    /**
     * 是否已经送出体验金给推荐人
     * 表字段 : t_bus_user.isSendTestSum
     *
     * @mbggenerated
     */
    private Integer issendtestsum;

    /**
     * 优先测试账号
     * 表字段 : t_bus_user.test
     *
     * @mbggenerated
     */
    private Integer test;

    /**
     * 帐号创建时间
     * 表字段 : t_bus_user.createTime
     *
     * @mbggenerated
     */
    private Date createtime;

    /**
     * 帐号修改时间
     * 表字段 : t_bus_user.updateTime
     *
     * @mbggenerated
     */
    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getQqopenid() {
        return qqopenid;
    }

    public void setQqopenid(String qqopenid) {
        this.qqopenid = qqopenid == null ? null : qqopenid.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getWxopenid() {
        return wxopenid;
    }

    public void setWxopenid(String wxopenid) {
        this.wxopenid = wxopenid == null ? null : wxopenid.trim();
    }

    public Integer getAutologin() {
        return autologin;
    }

    public void setAutologin(Integer autologin) {
        this.autologin = autologin;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getIdno() {
        return idno;
    }

    public void setIdno(String idno) {
        this.idno = idno == null ? null : idno.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

    public String getOpenusercode() {
        return openusercode;
    }

    public void setOpenusercode(String openusercode) {
        this.openusercode = openusercode == null ? null : openusercode.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getDealpwd() {
        return dealpwd;
    }

    public void setDealpwd(String dealpwd) {
        this.dealpwd = dealpwd == null ? null : dealpwd.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone == null ? null : mobilephone.trim();
    }

    public String getRefferee() {
        return refferee;
    }

    public void setRefferee(String refferee) {
        this.refferee = refferee == null ? null : refferee.trim();
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public String getLastip() {
        return lastip;
    }

    public void setLastip(String lastip) {
        this.lastip = lastip == null ? null : lastip.trim();
    }

    public Date getLastdate() {
        return lastdate;
    }

    public void setLastdate(Date lastdate) {
        this.lastdate = lastdate;
    }

    public Integer getAuthstep() {
        return authstep;
    }

    public void setAuthstep(Integer authstep) {
        this.authstep = authstep;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg == null ? null : headimg.trim();
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public BigDecimal getUsablesum() {
        return usablesum;
    }

    public void setUsablesum(BigDecimal usablesum) {
        this.usablesum = usablesum;
    }

    public BigDecimal getFreezesum() {
        return freezesum;
    }

    public void setFreezesum(BigDecimal freezesum) {
        this.freezesum = freezesum;
    }

    public BigDecimal getDueinsum() {
        return dueinsum;
    }

    public void setDueinsum(BigDecimal dueinsum) {
        this.dueinsum = dueinsum;
    }

    public BigDecimal getDueoutsum() {
        return dueoutsum;
    }

    public void setDueoutsum(BigDecimal dueoutsum) {
        this.dueoutsum = dueoutsum;
    }

    public Long getKefuid() {
        return kefuid;
    }

    public void setKefuid(Long kefuid) {
        this.kefuid = kefuid;
    }

    public Long getAdminid() {
        return adminid;
    }

    public void setAdminid(Long adminid) {
        this.adminid = adminid;
    }

    public Long getGroupid() {
        return groupid;
    }

    public void setGroupid(Long groupid) {
        this.groupid = groupid;
    }

    public Integer getFeestatus() {
        return feestatus;
    }

    public void setFeestatus(Integer feestatus) {
        this.feestatus = feestatus;
    }

    public Integer getLogincount() {
        return logincount;
    }

    public void setLogincount(Integer logincount) {
        this.logincount = logincount;
    }

    public Date getLocktime() {
        return locktime;
    }

    public void setLocktime(Date locktime) {
        this.locktime = locktime;
    }

    public Integer getCashstatus() {
        return cashstatus;
    }

    public void setCashstatus(Integer cashstatus) {
        this.cashstatus = cashstatus;
    }

    public String getUsrtype() {
        return usrtype;
    }

    public void setUsrtype(String usrtype) {
        this.usrtype = usrtype == null ? null : usrtype.trim();
    }

    public Integer getUsrchannel() {
        return usrchannel;
    }

    public void setUsrchannel(Integer usrchannel) {
        this.usrchannel = usrchannel;
    }

    public Integer getUsrlevel() {
        return usrlevel;
    }

    public void setUsrlevel(Integer usrlevel) {
        this.usrlevel = usrlevel;
    }

    public Integer getCcfp() {
        return ccfp;
    }

    public void setCcfp(Integer ccfp) {
        this.ccfp = ccfp;
    }

    public String getIpaddr() {
        return ipaddr;
    }

    public void setIpaddr(String ipaddr) {
        this.ipaddr = ipaddr == null ? null : ipaddr.trim();
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getTestsum() {
        return testsum;
    }

    public void setTestsum(BigDecimal testsum) {
        this.testsum = testsum;
    }

    public BigDecimal getTestsumcopy() {
        return testsumcopy;
    }

    public void setTestsumcopy(BigDecimal testsumcopy) {
        this.testsumcopy = testsumcopy;
    }

    public Integer getIssendtestsum() {
        return issendtestsum;
    }

    public void setIssendtestsum(Integer issendtestsum) {
        this.issendtestsum = issendtestsum;
    }

    public Integer getTest() {
        return test;
    }

    public void setTest(Integer test) {
        this.test = test;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", qqopenid=").append(qqopenid);
        sb.append(", openid=").append(openid);
        sb.append(", wxopenid=").append(wxopenid);
        sb.append(", autologin=").append(autologin);
        sb.append(", email=").append(email);
        sb.append(", username=").append(username);
        sb.append(", realname=").append(realname);
        sb.append(", idno=").append(idno);
        sb.append(", qq=").append(qq);
        sb.append(", openusercode=").append(openusercode);
        sb.append(", password=").append(password);
        sb.append(", dealpwd=").append(dealpwd);
        sb.append(", nickname=").append(nickname);
        sb.append(", mobilephone=").append(mobilephone);
        sb.append(", refferee=").append(refferee);
        sb.append(", rating=").append(rating);
        sb.append(", lastip=").append(lastip);
        sb.append(", lastdate=").append(lastdate);
        sb.append(", authstep=").append(authstep);
        sb.append(", headimg=").append(headimg);
        sb.append(", enable=").append(enable);
        sb.append(", usablesum=").append(usablesum);
        sb.append(", freezesum=").append(freezesum);
        sb.append(", dueinsum=").append(dueinsum);
        sb.append(", dueoutsum=").append(dueoutsum);
        sb.append(", kefuid=").append(kefuid);
        sb.append(", adminid=").append(adminid);
        sb.append(", groupid=").append(groupid);
        sb.append(", feestatus=").append(feestatus);
        sb.append(", logincount=").append(logincount);
        sb.append(", locktime=").append(locktime);
        sb.append(", cashstatus=").append(cashstatus);
        sb.append(", usrtype=").append(usrtype);
        sb.append(", usrchannel=").append(usrchannel);
        sb.append(", usrlevel=").append(usrlevel);
        sb.append(", ccfp=").append(ccfp);
        sb.append(", ipaddr=").append(ipaddr);
        sb.append(", balance=").append(balance);
        sb.append(", testsum=").append(testsum);
        sb.append(", testsumcopy=").append(testsumcopy);
        sb.append(", issendtestsum=").append(issendtestsum);
        sb.append(", test=").append(test);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}